package hcn.protocol.base.user;


import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

/**
 * Created by chuangye9527 on 16/7/16.
 * modify by xinggj  resetFlag 2016-11-14
 * 同步中山预约挂号平台
 * <p>
 * app用户密码修改 同步调用 预约挂号平台(密码修改-ModifyLoginPassword)
 */
@XmlRootElement(name = "Parameter")
public class UserPasswordBean implements Serializable {
    private String idcard;
    private String cardtype;
    private String nationality;
    private String telephoneno;
    private String oldpassword;
    private String newpassword;//1.0传这个密码,base64,hcn不用
    private String newpassword2;//hcn传这个密码,md5
    private int resetFlag;//重置 1 修改 0
    @XmlElement(name = "IdCard")
    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    @XmlElement(name = "CardType")
    public String getCardtype() {
        return cardtype;
    }

    public void setCardtype(String cardtype) {
        this.cardtype = cardtype;
    }

    @XmlElement(name = "Nationality")
    public String getNationality() {
        return nationality;
    }

    public void setNationality(String nationality) {
        this.nationality = nationality;
    }

    @XmlElement(name = "TelePhoneNo")
    public String getTelephoneno() {
        return telephoneno;
    }

    public void setTelephoneno(String telephoneno) {
        this.telephoneno = telephoneno;
    }

    @XmlElement(name = "OldPassword")
    public String getOldpassword() {
        return oldpassword;
    }

    public void setOldpassword(String oldpassword) {
        this.oldpassword = oldpassword;
    }

    @XmlElement(name = "NewPassword")
    public String getNewpassword() {
        return newpassword;
    }

    public void setNewpassword(String newpassword) {
        this.newpassword = newpassword;
    }

    @XmlElement(name = "NewPassword2")
    public String getNewpassword2() {
        return newpassword2;
    }

    public void setNewpassword2(String newpassword2) {
        this.newpassword2 = newpassword2;
    }

    @XmlElement(name = "ResetFlag")
    public int getResetFlag() {
        return resetFlag;
    }

    public void setResetFlag(int resetFlag) {
        this.resetFlag = resetFlag;
    }
}
